class CreateNotifications < ActiveRecord::Migration[5.2]
  def change
    create_table :notifications do |t|
      t.string :name
      t.integer :state, default: 0
      t.string :page_type
      t.string :params
      t.string :page_url
      t.integer :user_id

      t.timestamps
    end
  end
end
